#include "lcd_init.h"
#include "stdio.h"
#include <string.h>
// #include "app.h"

#define delay_mircosecond 1
typedef void (*FunType)(void);
//**********************************write function begin********************************************
void wr_cmd_4spi_8bcs(uint8_t par)
{
    LCD_DCXLow();
    DWT_Delay(delay_mircosecond);
    LCD_SCLLow();
    DWT_Delay(delay_mircosecond);
    LCD_CSLow();
    DWT_Delay(delay_mircosecond);

    for (int i = 0; i < 8; i++)
    {
        LCD_SCLLow();
        DWT_Delay(delay_mircosecond);
        if (par&0x80)
        {
            LCD_SDAHigh();
        }else
        {
            LCD_SDALow();
        }
        DWT_Delay(delay_mircosecond);
        LCD_SCLHigh();
        DWT_Delay(delay_mircosecond);
        par <<= 1;
    }

    LCD_CSHigh();
    DWT_Delay(delay_mircosecond);
    LCD_DCXHigh();
    DWT_Delay(delay_mircosecond);
}
void wr_dat_4spi_8bcs(uint8_t par)
{

    LCD_DCXHigh();
    DWT_Delay(delay_mircosecond);
    LCD_SCLLow();
    DWT_Delay(delay_mircosecond);
    LCD_CSLow();
    DWT_Delay(delay_mircosecond);

    for (int i = 0; i < 8; i++)
    {
        LCD_SCLLow();
        DWT_Delay(delay_mircosecond);
        if (par&0x80)
        {
            LCD_SDAHigh();
        }else
        {
            LCD_SDALow();
        }
        DWT_Delay(delay_mircosecond);
        LCD_SCLHigh();
        DWT_Delay(delay_mircosecond);
        par <<= 1;
    }

    LCD_CSHigh();
    DWT_Delay(delay_mircosecond);
    LCD_DCXHigh();
    DWT_Delay(delay_mircosecond);
}
void wr_cmd_parall1_8(uint16_t par)
{
    LCD_DCXLow();
    LCD_CSLow();
    LCD_WRLow();
    GPIOB->ODR = par;

    LCD_WRHigh();
}
void wr_dat_parall1_8(uint16_t par)
{
    LCD_DCXHigh();
    LCD_WRLow();
    GPIOB->ODR = par;

    LCD_WRHigh();
}
void wr_cmd_parall2_8(uint16_t par)
{
    LCD_DCXLow();
    LCD_CSLow();
    LCD_WRLow();
    GPIOB->ODR = par << 1;

    LCD_WRHigh();
}
void wr_dat_parall2_8(uint16_t par)
{
    LCD_DCXHigh();
    LCD_WRLow();
    GPIOB->ODR = par << 1;

    LCD_WRHigh();
}
//**********************************read function begin********************************************
void pb_out(void)
{
    GPIO_InitTypeDef GPIO_InitStruct = {0};

    // db 0-7
    GPIO_InitStruct.Pin = GPIO_PIN_0 | GPIO_PIN_1 | GPIO_PIN_2 | GPIO_PIN_3 |
                          GPIO_PIN_4 | GPIO_PIN_5 | GPIO_PIN_6 | GPIO_PIN_7;
    GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
    GPIO_InitStruct.Pull = GPIO_NOPULL;
    GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH;
    HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
}
void pb_in(void)
{
    GPIO_InitTypeDef GPIO_InitStruct = {0};

    // db 0-7
    GPIO_InitStruct.Pin = GPIO_PIN_0 | GPIO_PIN_1 | GPIO_PIN_2 | GPIO_PIN_3 |
                          GPIO_PIN_4 | GPIO_PIN_5 | GPIO_PIN_6 | GPIO_PIN_7;
    GPIO_InitStruct.Mode = GPIO_MODE_INPUT;
    GPIO_InitStruct.Pull = GPIO_NOPULL;
    GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH;
    HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
}
uint8_t i801_read_byte(void)
{
    uint8_t v;

    LCD_DCXHigh();
    LCD_RDLow();
    v = GPIOB->IDR;
    LCD_RDHigh();

    return v;
}
void rd_parall1_8(uint8_t c, uint8_t *d, uint32_t l)
{
    uint8_t buf[128];

    wr_cmd_parall1_8(c);
    pb_in();
    for (int i = 0; i < l; i++)
    {
        buf[i] = i801_read_byte();
    }
    LCD_CSHigh();
    pb_out();
    memcpy(d, buf, l);
}
//**********************************write display begin********************************************
void wr_displ_parall1_8(uint8_t color)
{
    LCD_DCXHigh();
    LCD_WRLow();
    GPIOB->ODR = color;
    LCD_WRHigh();
}
void wr_displ_parall2_18(uint16_t color1, uint16_t color2)
{
    LCD_DCXHigh();
    LCD_WRLow();
    if (color1 & 0x02)
        HAL_GPIO_WritePin(DB17_GPIO_Port, DB17_Pin, GPIO_PIN_SET);
    else
        HAL_GPIO_WritePin(DB17_GPIO_Port, DB17_Pin, GPIO_PIN_RESET);
    if (color1 & 0x01)
        HAL_GPIO_WritePin(DB16_GPIO_Port, DB16_Pin, GPIO_PIN_SET);
    else
        HAL_GPIO_WritePin(DB16_GPIO_Port, DB16_Pin, GPIO_PIN_RESET);
    GPIOB->ODR = color2;
    LCD_WRHigh();
}
// #if (SPI_565)
void wr_00(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_01(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_02(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_03(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_04(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_05(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_06(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_07(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_08(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_09(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_0a(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_0b(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_0c(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_0d(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_0e(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_0f(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_10(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_11(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_12(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_13(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_14(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_15(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_16(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_17(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_18(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_19(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_1a(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_1b(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_1c(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_1d(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_1e(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_1f(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_20(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_21(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_22(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_23(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_24(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_25(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_26(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_27(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_28(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_29(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_2a(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_2b(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_2c(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_2d(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_2e(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_2f(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_30(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_31(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_32(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_33(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_34(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_35(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_36(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_37(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_38(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_39(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_3a(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_3b(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_3c(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_3d(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_3e(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_3f(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_40(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_41(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_42(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_43(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_44(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_45(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_46(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_47(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_48(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_49(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_4a(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_4b(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_4c(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_4d(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_4e(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_4f(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_50(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_51(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_52(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_53(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_54(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_55(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_56(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_57(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_58(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_59(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_5a(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_5b(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_5c(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_5d(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_5e(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_5f(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_60(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_61(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_62(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_63(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_64(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_65(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_66(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_67(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_68(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_69(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_6a(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_6b(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_6c(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_6d(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_6e(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_6f(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_70(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_71(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_72(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_73(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_74(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_75(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_76(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_77(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_78(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_79(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_7a(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_7b(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_7c(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_7d(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_7e(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_7f(void)
{
    LCD_CSLow();
    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_80(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_81(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_82(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_83(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_84(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_85(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_86(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_87(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_88(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_89(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_8a(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_8b(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_8c(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_8d(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_8e(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_8f(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_90(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_91(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_92(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_93(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_94(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_95(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_96(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_97(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_98(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_99(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_9a(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_9b(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_9c(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_9d(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_9e(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_9f(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_a0(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_a1(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_a2(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_a3(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_a4(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_a5(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_a6(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_a7(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_a8(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_a9(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_aa(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_ab(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_ac(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_ad(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_ae(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_af(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_b0(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_b1(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_b2(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_b3(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_b4(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_b5(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_b6(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_b7(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_b8(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_b9(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_ba(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_bb(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_bc(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_bd(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_be(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_bf(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_c0(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_c1(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_c2(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_c3(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_c4(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_c5(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_c6(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_c7(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_c8(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_c9(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_ca(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_cb(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_cc(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_cd(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_ce(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_cf(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_d0(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_d1(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_d2(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_d3(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_d4(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_d5(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_d6(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_d7(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_d8(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_d9(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_da(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_db(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_dc(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_dd(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_de(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_df(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_e0(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_e1(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_e2(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_e3(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_e4(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_e5(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_e6(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_e7(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_e8(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_e9(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_ea(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_eb(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_ec(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_ed(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_ee(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_ef(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_f0(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_f1(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_f2(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_f3(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_f4(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_f5(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_f6(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_f7(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_f8(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_f9(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_fa(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_fb(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_fc(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_fd(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_fe(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_ff(void)
{
    LCD_CSLow();
    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_CSHigh();
}
void wr_c2c(void)
{
    LCD_DCXLow();
    LCD_CSLow();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDAHigh();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();

    LCD_SDALow();
    LCD_SCLLow();
    LCD_SCLHigh();
    LCD_DCXHigh();
    LCD_CSHigh();
}
// #endif
void C096LAB_Init(void)
{
    LCD_RSTHigh();
    HAL_Delay(120);
    LCD_RSTLow();
    HAL_Delay(120);
    LCD_RSTHigh();
    HAL_Delay(200);
    HAL_Delay(120);
    while (1)
    {
        /* code */
    }

    wr_cmd_4spi_8bcs(0x11);

    HAL_Delay(120);

    wr_cmd_4spi_8bcs(0x36);
    wr_dat_4spi_8bcs(0x00);

    wr_cmd_4spi_8bcs(0x3A);
    wr_dat_4spi_8bcs(0x55);

    wr_cmd_4spi_8bcs(0xB2);
    wr_dat_4spi_8bcs(0x1F);
    wr_dat_4spi_8bcs(0x1F);
    wr_dat_4spi_8bcs(0x00);
    wr_dat_4spi_8bcs(0x33);
    wr_dat_4spi_8bcs(0x33);

    wr_cmd_4spi_8bcs(0xB7);
    wr_dat_4spi_8bcs(0x65);

    wr_cmd_4spi_8bcs(0xBB);
    wr_dat_4spi_8bcs(0x25);

    wr_cmd_4spi_8bcs(0xC0);
    wr_dat_4spi_8bcs(0x2C);

    wr_cmd_4spi_8bcs(0xC2);
    wr_dat_4spi_8bcs(0x01);

    wr_cmd_4spi_8bcs(0xC3);
    wr_dat_4spi_8bcs(0x13);

    wr_cmd_4spi_8bcs(0xC4);
    wr_dat_4spi_8bcs(0x20); // VDV, 0x20:0v

    wr_cmd_4spi_8bcs(0xC6);
    wr_dat_4spi_8bcs(0x13); // 0x13:60Hz

    wr_cmd_4spi_8bcs(0xD0);
    wr_dat_4spi_8bcs(0xA7);
    wr_dat_4spi_8bcs(0xA1);

    wr_cmd_4spi_8bcs(0xD0);
    wr_dat_4spi_8bcs(0xA4);
    wr_dat_4spi_8bcs(0xA1);

    wr_cmd_4spi_8bcs(0xD6);
    wr_dat_4spi_8bcs(0xA1); // sleep in后，gate输出为GND

    wr_cmd_4spi_8bcs(0xE0);
    wr_dat_4spi_8bcs(0xF0);
    wr_dat_4spi_8bcs(0x04);
    wr_dat_4spi_8bcs(0x09);
    wr_dat_4spi_8bcs(0x07);
    wr_dat_4spi_8bcs(0x07);
    wr_dat_4spi_8bcs(0x04);
    wr_dat_4spi_8bcs(0x2E);
    wr_dat_4spi_8bcs(0x44);
    wr_dat_4spi_8bcs(0x45);
    wr_dat_4spi_8bcs(0x37);
    wr_dat_4spi_8bcs(0x13);
    wr_dat_4spi_8bcs(0x12);
    wr_dat_4spi_8bcs(0x28);
    wr_dat_4spi_8bcs(0x2E);

    wr_cmd_4spi_8bcs(0xE1);
    wr_dat_4spi_8bcs(0xF0);
    wr_dat_4spi_8bcs(0x07);
    wr_dat_4spi_8bcs(0x0C);
    wr_dat_4spi_8bcs(0x0B);
    wr_dat_4spi_8bcs(0x0A);
    wr_dat_4spi_8bcs(0x26);
    wr_dat_4spi_8bcs(0x2E);
    wr_dat_4spi_8bcs(0x33);
    wr_dat_4spi_8bcs(0x45);
    wr_dat_4spi_8bcs(0x18);
    wr_dat_4spi_8bcs(0x14);
    wr_dat_4spi_8bcs(0x15);
    wr_dat_4spi_8bcs(0x29);
    wr_dat_4spi_8bcs(0x2F);

    wr_cmd_4spi_8bcs(0xE4);
    wr_dat_4spi_8bcs(0x22);
    wr_dat_4spi_8bcs(0x00); // 设定gate起点位置
    wr_dat_4spi_8bcs(0x00); // 当gate没有用完时，bit4(TMG)设为0

    wr_cmd_4spi_8bcs(0x21);

    wr_cmd_4spi_8bcs(0x29);

    wr_cmd_4spi_8bcs(0x2A); // Column Address Set
    wr_dat_4spi_8bcs(0x00);
    wr_dat_4spi_8bcs(0x34);
    wr_dat_4spi_8bcs(0x00);
    wr_dat_4spi_8bcs(0xBA);

    wr_cmd_4spi_8bcs(0x2B); // Row Address Set
    wr_dat_4spi_8bcs(0x00);
    wr_dat_4spi_8bcs(0x28);
    wr_dat_4spi_8bcs(0x01);
    wr_dat_4spi_8bcs(0x17);

    wr_cmd_4spi_8bcs(0x2C);
}
// #if (SPI_565)
FunType str_func[256] = {wr_00, wr_01, wr_02, wr_03, wr_04, wr_05, wr_06, wr_07, wr_08, wr_09, wr_0a, wr_0b, wr_0c, wr_0d, wr_0e, wr_0f, wr_10, wr_11, wr_12, wr_13, wr_14, wr_15, wr_16, wr_17, wr_18, wr_19, wr_1a, wr_1b, wr_1c, wr_1d, wr_1e, wr_1f, wr_20, wr_21, wr_22, wr_23, wr_24, wr_25, wr_26, wr_27, wr_28, wr_29, wr_2a, wr_2b, wr_2c, wr_2d, wr_2e, wr_2f, wr_30, wr_31, wr_32, wr_33, wr_34, wr_35, wr_36, wr_37, wr_38, wr_39, wr_3a, wr_3b, wr_3c, wr_3d, wr_3e, wr_3f, wr_40, wr_41, wr_42, wr_43, wr_44, wr_45, wr_46, wr_47, wr_48, wr_49, wr_4a, wr_4b, wr_4c, wr_4d, wr_4e, wr_4f, wr_50, wr_51, wr_52, wr_53, wr_54, wr_55, wr_56, wr_57, wr_58, wr_59, wr_5a, wr_5b, wr_5c, wr_5d, wr_5e, wr_5f, wr_60, wr_61, wr_62, wr_63, wr_64, wr_65, wr_66, wr_67, wr_68, wr_69, wr_6a, wr_6b, wr_6c, wr_6d, wr_6e, wr_6f, wr_70, wr_71, wr_72, wr_73, wr_74, wr_75, wr_76, wr_77, wr_78, wr_79, wr_7a, wr_7b, wr_7c, wr_7d, wr_7e, wr_7f, wr_80, wr_81, wr_82, wr_83, wr_84, wr_85, wr_86, wr_87, wr_88, wr_89, wr_8a, wr_8b, wr_8c, wr_8d, wr_8e, wr_8f, wr_90, wr_91, wr_92, wr_93, wr_94, wr_95, wr_96, wr_97, wr_98, wr_99, wr_9a, wr_9b, wr_9c, wr_9d, wr_9e, wr_9f, wr_a0, wr_a1, wr_a2, wr_a3, wr_a4, wr_a5, wr_a6, wr_a7, wr_a8, wr_a9, wr_aa, wr_ab, wr_ac, wr_ad, wr_ae, wr_af, wr_b0, wr_b1, wr_b2, wr_b3, wr_b4, wr_b5, wr_b6, wr_b7, wr_b8, wr_b9, wr_ba, wr_bb, wr_bc, wr_bd, wr_be, wr_bf, wr_c0, wr_c1, wr_c2, wr_c3, wr_c4, wr_c5, wr_c6, wr_c7, wr_c8, wr_c9, wr_ca, wr_cb, wr_cc, wr_cd, wr_ce, wr_cf, wr_d0, wr_d1, wr_d2, wr_d3, wr_d4, wr_d5, wr_d6, wr_d7, wr_d8, wr_d9, wr_da, wr_db, wr_dc, wr_dd, wr_de, wr_df, wr_e0, wr_e1, wr_e2, wr_e3, wr_e4, wr_e5, wr_e6, wr_e7, wr_e8, wr_e9, wr_ea, wr_eb, wr_ec, wr_ed, wr_ee, wr_ef, wr_f0, wr_f1, wr_f2, wr_f3, wr_f4, wr_f5, wr_f6, wr_f7, wr_f8, wr_f9, wr_fa, wr_fb, wr_fc, wr_fd, wr_fe, wr_ff};
void wr_num(uint8_t par)
{
    str_func[par]();
}
// #endif
// void Filllcd_Area(uint16_t _usX, uint16_t _usY, uint16_t _usWidth , uint16_t _usHeight, uint16_t color)
void Filllcd_Area(uint32_t color)
{
    uint32_t x = 0;
    uint32_t y = 0;
    // 显示区域限制
    wr_cmd_4spi_8bcs(GC9A01_CMD_CASETF);
    wr_dat_4spi_8bcs(0);
    wr_dat_4spi_8bcs(0);
    wr_dat_4spi_8bcs(0);
    wr_dat_4spi_8bcs(79);

    wr_cmd_4spi_8bcs(GC9A01_CMD_RASETF);
    wr_dat_4spi_8bcs(0);
    wr_dat_4spi_8bcs(0);
    wr_dat_4spi_8bcs(0);
    wr_dat_4spi_8bcs(159);
    // 准备接收数据*/
    /*wr_cmd_4spi_8bcs(0x2c);

    //uint8_t colorred = color >> 16;
    uint8_t color1 = (color & 0xff00) >> 8;
    uint8_t color2 = (color & 0xff);
    //uint8_t color1,color2;
    for( y=0; y < LCD_Height; y++ )
        {for( x=0; x < LCD_Width; x++ )
        {
            wr_dat_4spi_8bcs( 0xf8);
            wr_dat_4spi_8bcs( 0x00 );
        }
    }*/
    wr_c2c();

    for (y = 0; y < LCD_Height; y++)
    {
        for (x = 0; x < LCD_Width; x++)
        {
            wr_num(0xf8);
            wr_num(0x00);
        }
    }
    /*wr_cmd_parall1_8(0x2a);
    wr_dat_parall1_8(0x00);
    wr_dat_parall1_8(0x00);
    wr_dat_parall1_8(0x00);
    wr_dat_parall1_8(0xef);

    wr_cmd_parall1_8(0x2b);
    wr_dat_parall1_8(0x00);
    wr_dat_parall1_8(0x00);
    wr_dat_parall1_8(0x01);
    wr_dat_parall1_8(0x3F);

    wr_cmd_parall1_8(0X2C);
    //uint8_t colorred = color >> 16;
    //uint8_t color1 = (color & 0xff00) >> 8;
    //uint8_t color2 = (color & 0xff);
    for( y=0; y < 320 ; y++ )
        {for( x=0; x < 240; x++ )
        {
            wr_displ_parall1_8(0xf8);
            wr_displ_parall1_8(0x00);
            wr_displ_parall1_8(0x00);
            //wr_displ_parall1_8(colorred);
            //wr_displ_parall1_8(color1);
            //wr_displ_parall1_8(color2);
            //wr_displ_parall2_18_H(0x0003);
            //wr_displ_parall2_18_L(0xF000);
        }
    }*/
}